﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="store.aspx.cs" Inherits="AnaGiftedProject.WebForm8" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <form id="form1" runat="server">
<div>
     <br /><asp:TextBox ID="txtName" runat="server" style="margin-right: 130px" 
         TextMode="MultiLine"></asp:TextBox>
     <br /><asp:TextBox ID="txtPrice" runat="server" style="margin-right: 130px"></asp:TextBox>
     <br /><asp:TextBox ID="txtInfo" runat="server" style="margin-right: 130px" 
         TextMode="MultiLine"></asp:TextBox> 
     <br /><br />
    <asp:FileUpload ID="FileUpload1" runat="server" style="margin-right: 130px" />
    <br />
    <asp:Button ID="Button1" runat="server" Text="تحميل" Width="80px" 
         onclick="Button1_Click" style="margin-right: 130px" />
    <hr /><br/>
</div>
<div class="headbody">أعمال الموهوبين</div>
<div class="bodycontent ">
    <asp:DataList ID="DataList1" runat="server" DataKeyField="Id" 
        DataSourceID="EntityDataSource1" Width="445px">
        <ItemTemplate>
            Id:
            <asp:Label ID="IdLabel" runat="server" Text='<%# Eval("Id") %>' />
            <br />
            StoreImgName:
            <asp:Label ID="StoreImgNameLabel" runat="server" 
                Text='<%# Eval("StoreImgName") %>' />
            <br />
            StoreImgTrack:
            <asp:Label ID="StoreImgTrackLabel" runat="server" 
                Text='<%# Eval("StoreImgTrack") %>' />
            <br />
            Price:
            <asp:Label ID="PriceLabel" runat="server" Text='<%# Eval("Price") %>' />
            <br />
            ImgInfo:
            <asp:Label ID="ImgInfoLabel" runat="server" Text='<%# Eval("ImgInfo") %>' />
            <br />
            DateAdd:
            <asp:Label ID="DateAddLabel" runat="server" Text='<%# Eval("DateAdd") %>' />
            <br />
            GalleryImgs:
            <asp:Label ID="GalleryImgsLabel" runat="server" 
                Text='<%# Eval("GalleryImgs") %>' />
            <br />
<br />
        </ItemTemplate>
    </asp:DataList>
    <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
        ConnectionString="name=DatabaseGiftedEntities" 
        DefaultContainerName="DatabaseGiftedEntities" EnableDelete="True" 
        EnableFlattening="False" EnableInsert="True" EnableUpdate="True" 
        EntitySetName="StoreImgs">
    </asp:EntityDataSource>
 </div>
<br/>
<div class="headbody">أدوات أخرى</div>
<div class="bodycontent ">

</div>
    </form>
</asp:Content>
